RTC and RTC Alarm Register Bitmap
DS1921H/Z
ADDR
b7
b6
b5
b4
b3
b2
b1
b0
0200h
0201h
0
0
10 Seconds
1 0 Minute s
Single Seconds
Single Minutes
0202h
0
12/24
20h.
AM/PM
10h.
Single Hours
0203h
0204h
0205h
0
0
CENT
0
0
0
0
0
0
10 Date
10m.
0
Day of Week
Single Date
Single Months
0206h
10 Years
Single Years
0207h
0208h
MS
MM
10 Seconds Alarm
10 Minutes Alarm
Single Seconds Alarm
Single Minutes Alarm
0209h
MH
12/24
10ha.
A/P
10h.
alm.
Single Hours Alarm
020Ah
MD
0
0
0
0
Day of Week Alarm
RTC/Calendar
The RTC of the DS1921H/Z can run in either 12-hour or 24-hour mode. Bit 6 of the Hours Register
(address 202h) is defined as the 12- or 24-hour mode select bit. When high, the 12-hour mode is selected.
In the 12-hour mode, bit 5 is the AM/PM bit with logic 1 being PM. In the 24-hour mode, bit 5 is the 20-
hour bit (20 to 23 hours).
To distinguish between the days of the week the DS1921H/Z includes a counter with a range from 1 to 7.
The assignment of counter value to the day of week is arbitrary. Typically, the number 1 is assigned to a
Sunday (U.S. standard) or to a Monday (European standard).
The calendar logic is designed to automatically compensate for leap years. For every year value that is
either 00 or a multiple of 4 the device will add a 29 th of February. This will work correctly up to (but not
including) the year 2100.
The DS1921H/Z is Y2K-compliant. Bit 7 (CENT) of the Months Register at address 205h serves as a
century flag. When the Year Register rolls over from 99 to 00 the century flag will toggle. It is
recommended to write the century bit to a 1 when setting the RTC to a time/date between the years 2000
and 2099.
RTC Alarms
The DS1921H/Z also contains a RTC alarm function. The alarm registers are located in registers 207h to
20Ah. The most significant bit of each of the alarm registers is a mask bit. When all of the mask bits are
logic 0, an alarm will occur once per week when the values stored in timekeeping registers 200h to 203h
match the values stored in the time of day alarm registers. Any alarm will set the Timer Alarm Flag
(TAF) in the device's Status Register (address 214h). The bus master may set the Search Conditions in the
Control Register (address 20Eh) to identify devices with timer alarms by means of the Conditional Search
function (see ROM Function Commands ).
7 of 45
相关PDF资料
DS1921K# KIT IBUTTON THERMOCHRON
DS1922E-F5# IBUTTON TEMP LOGGER 4KBit F5
DS1922L-F5# IBUTTON TEMP LOGGER
DS1923-F5# IBUTTON TEMP/HUMIDITY LOGGER F5
DS1961S-F3# IBUTTON EEPROM 1KBit F3
DS1963S-F5+ IBUTTON MONETARY SHA-1
DS1971-F3+ IBUTTON EEPROM 256KBIT F3
DS1972-F3+ IBUTTON EEPROM 1KBit F3
相关代理商/技术参数
DS1921H-F5/A1C 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921H-F5+A1C 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921H-F50 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921K 功能描述:存储器 IC 开发工具 RoHS:否 制造商:STMicroelectronics 产品:Reference Boards 工具用于评估:M24LR64-R 存储容量:64 kbit 存储类型:EEPROM 工作电源电压:1.8 V to 5.5 V
DS1921K# 功能描述:温度传感器开发工具 Thermochron iButton Kit RoHS:否 制造商:Texas Instruments 产品类型:Temperature Sensors and Control ICs 工具用于评估:MSP430G2553 接口类型:USB 工作电源电压: 工作电源电流:
DS1921L-F50 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:Thermochron iButton
DS1921L-F51 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:Thermochron iButton
DS1921L-F52 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:Thermochron iButton